/*
 * Created on 08.08.2006 by leck
 *
 */
package de.devisnik.eidle.ide;

import org.eclipse.core.runtime.Preferences;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;

import de.devisnik.eidle.EidleActivator;

public class ActivationPreferences extends AbstractPreferenceInitializer {

    static final String KEY_COUNTDOWN = "countdown";

    public static int getCountDown() {
        return getPreferences().getInt(KEY_COUNTDOWN);
    }
            
    private static Preferences getPreferences() {
        return EidleActivator.getDefault().getPluginPreferences();
    }

	public void initializeDefaultPreferences() {
		getPreferences().setDefault(KEY_COUNTDOWN, 10);
	}

}
